home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Super Collection / Windows 95 Super Collection.iso / win95 / internet / rcp3217 / rcperrs.bas < prev    next >
Encoding:
BASIC Source File  |  1995-02-27  |  1.5 KB  |  24 lines

  1. ' Errors definitions for WinsockRCP calls
  2.  
  3. Global Const ERCP_NOHOST = -1       ' No host specified for either filename
  4. Global Const ERCP_BADUSER = -2       ' Unacceptable user name before @
  5. Global Const ERCP_FROMHOST = -3       ' Error message received from remote host
  6. Global Const ERCP_LOSTCONN = -4       ' Lost the connection to host prematurely
  7. Global Const ERCP_NOMEM    = -5       ' Cannot allocate memory
  8. Global Const ERCP_NOUSER = -6       ' Can't get user from Windows or WIN.INI
  9. Global Const ERCP_TARGET = -7       ' Target is ambiguous
  10. Global Const ERCP_SND_TYPE = -8       ' Invalid file type to send (i.e. directory)
  11. Global Const ERCP_NOMATCH = -9       ' No match for wildcard on remote host
  12. Global Const ERCP_PROTOCOL = -10   ' RCP Protocol Error
  13. Global Const ERCP_DIR_INFO = -11   ' Can't get info about a directory
  14. Global Const ERCP_WILDCARD = -12   ' Error in wildcard pattern (local)
  15. Global Const ERCP_SND_STAT = -13   ' Can't get info about a file to send
  16. Global Const ERCP_SND_OPEN = -14   ' Can't open a file to send
  17. Global Const ERCP_SND_READ = -15   ' Error reading file during send
  18. Global Const ERCP_SND_RECUR = -16  ' Cannot get the filenames in a directory
  19. Global Const ERCP_BIGPATH = -17       ' Pathname is too long
  20. Global Const ERCP_RCV_OPEN = -18   ' Cannot open a file for writing in receive
  21. Global Const ERCP_RCV_SIZE = -19   ' Error adjusting file size after receive
  22. Global Const ERCP_RCV_WRITE = -20  ' Error writing file in receive (no space?)
  23. Global Const ERCP_NO_HANDLES = -21 ' Too many instances using RCP.DLL
  24.